mergeInto(LibraryManager.library, { 
    
   UnityAsyncStr:function (key, content, onSuccess) { 
        window.StringToBuffer = _StringToBuffer;
        window.UnityAsyncStr(key,content,onSuccess); 
   }, 
       
  StringToBuffer:function(returnStr) {          
        var bufferSize = lengthBytesUTF8(returnStr) + 1;
        var buffer = _malloc(bufferSize);
        stringToUTF8(returnStr, buffer, bufferSize);
        
       // console.log(returnStr,bufferSize,buffer,[buffer]); 
        return buffer;
      },  
      
      
     UnityAsyncInt:function (x, y, onSuccess) { 
          window.UnityAsyncInt(x,y,onSuccess); 
     },     
 
});
